// File: MathFunctions.h
// Name: Samuel Brush
// Date: 3/26/2014
// Course: CS 325 - Software Development
// Desc: Prototypes for functions that calculate mean, standard deviations, kurtosis, and skewness for a
//       set of numbers.
// Usage: Put doubles into a vector, then pass into the functions. Return value is answer.
//			Use with MathFunctions.cpp and a driver.

#ifndef MATH_FUNCTIONS_H
#define MATH_FUNCTIONS_H

#include <vector>
using namespace std;

//value that will be returned if no values are in the vector
#define DIVIDE_BY_ZERO -66666666

//returns the mean, or average, of the values contained in the vector "values"
double mean(const vector<double> &values);

//returns the standard deviation of the values contained in the vector "values"
double stdev(const vector<double> &values);

//returns the kurtosis of the values contained in the vector "values"
double kurtosis(const vector<double> &values);

//returns the skewness of the values contained in the vector "values"
double skewness(const vector<double> &values);

#endif